/*
 * author      : 吴中勤 
 * date        : 2018/9/27
 * description : TODO
 */

package com.deepexi.adapter.converter.sap;

public class SapMapConst {

    public static final String QUANTITY_ONE = "1";
    public static final String PRICE_FREE = "0.00";

    public static final String CHANGE_TYPE_ADD = "A";
    public static final String CHANGE_TYPE_DELETE = "D";
    public static final String CHANGE_TYPE_UPDATE = "C";
    public static final String AUTO_PURCHASE_YES = "X";

    public static final String ORDER_LINE_STATUS_STOCK_OUT = "stock_out";



    /**
     * 行项目类型
     * <p>
     * ............synced = 已同步,
     * ........gen_synced = adapter生产并同步,
     * .sync_on_confirmed = 条件满足时同步,
     * ............retain = 拦截不同步
     */
    public static final String ORDER_LINE_TYPE_SYNCED = "synced";
    public static final String ORDER_LINE_TYPE_GEN_SYNCED = "gen_synced";
    public static final String ORDER_LINE_TYPE_SYNC_ON_CONFIRMED = "sync_on_confirmed";
    public static final String ORDER_LINE_TYPE_RETAIN = "retain";

    /** 保养物料号 */
    public static final String VIRTUAL_MATERIAL_4_MAINTAIN = "Q9999999";

    /**
     * 卡券 类别:
     * A = 储值类      购买时
     * B = 基金类
     * C = 商品代金类
     * D = 商品服务类  赠送时
     * E = 限额打折类
     */
    public static final String COUPON_TYPE_DEPOSIT = "A";
    public static final String COUPON_TYPE_FUND = "B";
    public static final String COUPON_TYPE_TICKET = "C";
    public static final String COUPON_TYPE_GOODS_OR_SERVICE = "D";
    public static final String COUPON_TYPE_DISCOUNT = "E";

    /**
     * 卡券 分类:
     * 01 = 项目类
     * 02 = 金额类
     */
    public static final String COUPON_ZTYPE_ITEM = "01";
    public static final String COUPON_ZTYPE_MONEY = "02";

    /**
     * 卡券 获取方式:
     * 01 = 购买
     * 02 = 赠送
     */
    public static final String COUPON_ACQUIRE_TYPE_BUY = "01";
    public static final String COUPON_ACQUIRE_TYPE_GIFT = "02";

}
